<div class="top_zw"></div>
<div class="top">
  <div class="top_pad">
    <div class="logo"><a href="{:U('Home/Index/index')}"><img src="__STATIC__/images/logo.png" /></a></div>
    
    <div class="search">
      <div class="search_in">
        <p>灯饰/家装家饰/服饰</p>
      </div>
    </div><!--search-->
    
    <div class="menu"><div></div><p></p><p></p><p></p></div>
  </div>
</div><!--top-->

<div class="search_page">
  <div class="search_pad">
    <div class="search_box">
      <div class="search_cate">
        <span id="sear_now">天猫</span><i class="icon-zhankai"></i>
        <ul>
          <li onclick="gchecked_sear('天猫','3','#search_type')"><a href="javascript:void(0)">天猫</a></li>
          <li onclick="gchecked_sear('京东','4','#search_type')"><a href="javascript:void(0)">京东</a></li>
          <li onclick="gchecked_sear('淘宝','5','#search_type')"><a href="javascript:void(0)">淘宝</a></li>
          <li onclick="gchecked_sear('其他','6','#search_type')"><a href="javascript:void(0)">其他</a></li>
        </ul>
      </div>
      
      <div class="search_main">
        <form action="{:U('Goods/goodsList')}" method="post">
          <input type="hidden" name="type_id" id="search_type" value="3" />
          <div class="sleft"><input class="insearch_seat" type="text" name="keywords" placeholder="灯饰/家装家饰/服饰" /></div>
          <div class="sright"><button class="insearch_seab" type="submit"><i class="icon-fangdajing"></i></button></div>
        </form>
      </div><!--search_main-->
      
      <div class="search_close">取消</div>
    </div>
  </div>
</div><!--search_page-->

<div class="nav ease02">
  <div class="nav_close"><i class="icon-zhankailai"></i> <span>收起</span></div>
  <ul>
    <li><a class="topnav_a" href="{:U('Mobile/Index/index')}">首页</a></li>
    <li><a class="topnav_a" href="{:U('Mobile/Goods/goodsList')}">购买网店</a></li>
    <if condition="$user_id gt 0">
    <li><a class="topnav_a" href="{:U('Mobile/User/add_seller')}">出售网店</a></li>
    <else/>
    <li><a class="topnav_a" href="{:U('Mobile/Index/seller_form')}">出售网店</a></li>
    </if>
    <li><a class="topnav_a" href="{:U('Mobile/Case/index')}">成交案例</a></li>
  </ul>
</div><!--nav-->

<script>
$(document).ready(function(){
	$(".search").click(function(){
		$(".search_page").show();
		$(".insearch_seat").focus();
	});
	$(".search_close").click(function(){
		$(".search_page").hide();
	});
	$(".search_cate").click(function(){
		if($(this).hasClass("search_cate_bor"))
		{
			$(this).removeClass("search_cate_bor")
			$(".search_cate ul").hide();
		}
		else
		{
			$(this).addClass("search_cate_bor");
			$(".search_cate ul").show();
		}
		
	});
	
	$(".menu").click(function(){
		$(".nav").addClass("nav_on");
	});
	$(".nav_close").click(function(){
		$(".nav").removeClass("nav_on");
	});
});
</script>